package com.core.cloudbusiness.sheet.mayor.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.core.cloundbusinessapi.sheet.mayor.dto.CloudSheetMayorDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author =====Lqj=====
 * @className CloudSheetMayorMapper
 * @description
 * @create 2024/11/19 17:12
 **/

@Repository
public interface CloudSheetMayorMapper extends BaseMapper<CloudSheetMayorDTO> {

    IPage<CloudSheetMayorDTO> queryMayorMapper(@Param("page") Page page, @Param("sheetCode") String sheetCode, @Param("handleUnit") String handleUnit);

    void updateSheetStatusMapper(@Param("sheetCode") String sheetCode, @Param("sheetStatus") String SheetStatus, @Param("handleUnit") String handleUnit);

    List<CloudSheetMayorDTO> queryMayorListMapper(@Param("startTime") String startTime, @Param("stopTime") String stopTime, @Param("handleUnit") String handleUnit);
}
